<!DOCTYPE html>
<html>
<head>
    

    

    



    <meta charset="utf-8">
    
    
    
    
    <title>火锅鸡网项目总结 | Anson&#39;s Blog | 种一棵树最好的时间在十年前，其次是现在。</title>
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    
    <meta name="theme-color" content="#3F51B5">
    
    
    <meta name="keywords" content="JavaScript,移动端,生活感悟">
    <meta name="description" content="项目定位终于做完了!我做的是移动端，晓哥做的pc端，做的时候感觉移动端坑也好多，经理吩咐的细节部分老是忘记改，还好我从哥记忆力好，哈哈，这两天改了N次，又和设计稿对了无数遍，终于算是过了自己这关了，总结一下自己的这次的项目心得， 没听清楚需求一开始讲需求的时候没认真听，所以做完以后修改的时候比做的时间都多，所以下次一定要注意，用户需求才是项目的方向主导，了解了用户需求，清楚了项目的层级结构，才能高">
<meta name="keywords" content="JavaScript,移动端,生活感悟">
<meta property="og:type" content="article">
<meta property="og:title" content="火锅鸡网项目总结">
<meta property="og:url" content="http://yoursite.com/2018/03/11/火锅鸡网项目总结/index.html">
<meta property="og:site_name" content="Anson&#39;s Blog">
<meta property="og:description" content="项目定位终于做完了!我做的是移动端，晓哥做的pc端，做的时候感觉移动端坑也好多，经理吩咐的细节部分老是忘记改，还好我从哥记忆力好，哈哈，这两天改了N次，又和设计稿对了无数遍，终于算是过了自己这关了，总结一下自己的这次的项目心得， 没听清楚需求一开始讲需求的时候没认真听，所以做完以后修改的时候比做的时间都多，所以下次一定要注意，用户需求才是项目的方向主导，了解了用户需求，清楚了项目的层级结构，才能高">
<meta property="og:locale" content="zh-CN">
<meta property="og:image" content="http://p0bnwspy9.bkt.clouddn.com/6B4146D081BAE220634689C69DC76C57.png">
<meta property="og:updated_time" content="2018-10-19T10:10:25.440Z">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="火锅鸡网项目总结">
<meta name="twitter:description" content="项目定位终于做完了!我做的是移动端，晓哥做的pc端，做的时候感觉移动端坑也好多，经理吩咐的细节部分老是忘记改，还好我从哥记忆力好，哈哈，这两天改了N次，又和设计稿对了无数遍，终于算是过了自己这关了，总结一下自己的这次的项目心得， 没听清楚需求一开始讲需求的时候没认真听，所以做完以后修改的时候比做的时间都多，所以下次一定要注意，用户需求才是项目的方向主导，了解了用户需求，清楚了项目的层级结构，才能高">
<meta name="twitter:image" content="http://p0bnwspy9.bkt.clouddn.com/6B4146D081BAE220634689C69DC76C57.png">
    
        <link rel="alternate" type="application/atom+xml" title="Anson&#39;s Blog" href="/atom.xml">
    
    <link rel="shortcut icon" href="/img/favicon.ico">
    <link rel="stylesheet" href="//unpkg.com/hexo-theme-material-indigo@latest/css/style.css">
    <script>window.lazyScripts=[]</script>

    <!-- custom head -->
    

</head>

<body>
    <div id="loading" class="active"></div>

    <aside id="menu"  >
  <div class="inner flex-row-vertical">
    <a href="javascript:;" class="header-icon waves-effect waves-circle waves-light" id="menu-off">
        <i class="icon icon-lg icon-close"></i>
    </a>
    <div class="brand-wrap" style="background-image:url(/img/brand.jpg)">
      <div class="brand">
        <a href="/" class="avatar waves-effect waves-circle waves-light">
          <img src="https://yscoder.github.io/img/face.jpg">
        </a>
        <hgroup class="introduce">
          <h5 class="nickname">张宁乐</h5>
          <a href="mailto:zhangningle2017@gmail.com" title="zhangningle2017@gmail.com" class="mail">zhangningle2017@gmail.com</a>
        </hgroup>
      </div>
    </div>
    <div class="scroll-wrap flex-col">
      <ul class="nav">
        
            <li class="waves-block waves-effect">
              <a href="/"  >
                <i class="icon icon-lg icon-home"></i>
                主页
              </a>
            </li>
        
            <li class="waves-block waves-effect">
              <a href="/archives"  >
                <i class="icon icon-lg icon-archives"></i>
                归档
              </a>
            </li>
        
            <li class="waves-block waves-effect">
              <a href="/tags"  >
                <i class="icon icon-lg icon-tags"></i>
                标签
              </a>
            </li>
        
            <li class="waves-block waves-effect">
              <a href="/about"  >
                <i class="icon icon-lg icon-user"></i>
                关于
              </a>
            </li>
        
            <li class="waves-block waves-effect">
              <a href="https://github.com/ansonznl" target="_blank" >
                <i class="icon icon-lg icon-github"></i>
                Github
              </a>
            </li>
        
      </ul>
    </div>
  </div>
</aside>

    <main id="main">
        <header class="top-header" id="header">
    <div class="flex-row">
        <a href="javascript:;" class="header-icon waves-effect waves-circle waves-light on" id="menu-toggle">
          <i class="icon icon-lg icon-navicon"></i>
        </a>
        <div class="flex-col header-title ellipsis">火锅鸡网项目总结</div>
        
        <div class="search-wrap" id="search-wrap">
            <a href="javascript:;" class="header-icon waves-effect waves-circle waves-light" id="back">
                <i class="icon icon-lg icon-chevron-left"></i>
            </a>
            <input type="text" id="key" class="search-input" autocomplete="off" placeholder="输入感兴趣的关键字">
            <a href="javascript:;" class="header-icon waves-effect waves-circle waves-light" id="search">
                <i class="icon icon-lg icon-search"></i>
            </a>
        </div>
        
        
        <a href="javascript:;" class="header-icon waves-effect waves-circle waves-light" id="menuShare">
            <i class="icon icon-lg icon-share-alt"></i>
        </a>
        
    </div>
</header>
<header class="content-header post-header">

    <div class="container fade-scale">
        <h1 class="title">火锅鸡网项目总结</h1>
        <h5 class="subtitle">
            
                <time datetime="2018-03-11T09:20:14.000Z" itemprop="datePublished" class="page-time">
  2018-03-11
</time>


            
        </h5>
    </div>

    


</header>


<div class="container body-wrap">
    
    <aside class="post-widget">
        <nav class="post-toc-wrap post-toc-shrink" id="post-toc">
            <h4>TOC</h4>
            <ol class="post-toc"><li class="post-toc-item post-toc-level-2"><a class="post-toc-link" href="#项目定位"><span class="post-toc-number">1.</span> <span class="post-toc-text">项目定位</span></a></li><li class="post-toc-item post-toc-level-2"><a class="post-toc-link" href="#没听清楚需求"><span class="post-toc-number">2.</span> <span class="post-toc-text">没听清楚需求</span></a></li><li class="post-toc-item post-toc-level-2"><a class="post-toc-link" href="#一个页面两个Swiper的执行顺序问题"><span class="post-toc-number">3.</span> <span class="post-toc-text">一个页面两个Swiper的执行顺序问题</span></a></li><li class="post-toc-item post-toc-level-2"><a class="post-toc-link" href="#JavaScript-基础"><span class="post-toc-number">4.</span> <span class="post-toc-text">JavaScript 基础</span></a></li><li class="post-toc-item post-toc-level-2"><a class="post-toc-link" href="#分享功能"><span class="post-toc-number">5.</span> <span class="post-toc-text">分享功能</span></a></li><li class="post-toc-item post-toc-level-2"><a class="post-toc-link" href="#项目上线"><span class="post-toc-number">6.</span> <span class="post-toc-text">项目上线</span></a></li></ol>
        </nav>
    </aside>


<article id="post-火锅鸡网项目总结"
  class="post-article article-type-post fade" itemprop="blogPost">

    <div class="post-card">
        <h1 class="post-card-title">火锅鸡网项目总结</h1>
        <div class="post-meta">
            <time class="post-time" title="2018-03-11 17:20:14" datetime="2018-03-11T09:20:14.000Z"  itemprop="datePublished">
2018-03-11
<!--2018-10-19 18:10:25-->
</time>

            


            
<span id="busuanzi_container_page_pv" title="文章总阅读量" style='display:none'>
    <i class="icon icon-eye icon-pr"></i><span id="busuanzi_value_page_pv"></span>
</span>


        </div>
        <div class="post-content" id="post-content" itemprop="postContent">
            <h2 id="项目定位"><a href="#项目定位" class="headerlink" title="项目定位"></a>项目定位</h2><p>终于做完了!我做的是移动端，晓哥做的pc端，做的时候感觉移动端坑也好多，经理吩咐的细节部分老是忘记改，还好我从哥记忆力好，哈哈，这两天改了N次，又和设计稿对了无数遍，终于算是过了自己这关了，<br>总结一下自己的这次的项目心得，</p>
<h2 id="没听清楚需求"><a href="#没听清楚需求" class="headerlink" title="没听清楚需求"></a>没听清楚需求</h2><p>一开始讲需求的时候没认真听，所以做完以后修改的时候比做的时间都多，所以下次一定要注意，用户需求才是项目的方向主导，<br>了解了用户需求，清楚了项目的层级结构，才能高效的快速的完成工作，不要觉得前期规划很慢，其实前期吧项目规划的越清楚，后期做的时候就会越迅速，</p>
<h2 id="一个页面两个Swiper的执行顺序问题"><a href="#一个页面两个Swiper的执行顺序问题" class="headerlink" title="一个页面两个Swiper的执行顺序问题"></a>一个页面两个Swiper的执行顺序问题</h2><p>又是swiper  没办法 一做移动端就想到了他，谁让他是移动端最好的轮播呢（00）<br>这个问题主要出在我没搞清楚swiper 的函数就修改人家的代码，导致一个轮播浪费了很多的时间，最后还是自己写出的…</p>
<h2 id="JavaScript-基础"><a href="#JavaScript-基础" class="headerlink" title="JavaScript 基础"></a>JavaScript 基础</h2><p>中间用到一个返回的功能，想到了BOM，可是就是实现不了 ，果然百度是强大的，<br><code>&lt;a class=&quot;fl clearfix&quot; href=&quot;javascript:history.back(-1)&quot;&gt;</code><br>js调用浏览器的历史记录 无刷新返回 就是类似的浏览器历史记录 缺点是不能刷新 优点是 速度快</p>
<p>做了这么多项目后觉得自己的JavaScript有所提高了，</p>
<h2 id="分享功能"><a href="#分享功能" class="headerlink" title="分享功能"></a>分享功能</h2><p>由于客户喜欢的分享功能比较奇葩，别人都是分享网页或网址，他想让分享APP，着急上火的我去找了百度、segmentfault、博客园、csdn，最终在我的大知乎上找到了一个，<br>这是一个github的开源项目，感觉超级良心 ，<br>技术点主要是JavaScript（又是我强大的js）调用手机系统的分享功能;<br>自我觉得对于div+css越发越熟练，JavaScript也熟练了好多！！ 加油张宁乐！</p>
<h2 id="项目上线"><a href="#项目上线" class="headerlink" title="项目上线"></a>项目上线</h2><p>现在大家也可以点击<a href="http://www.huoguoji.net/" target="_blank" rel="noopener">火锅鸡网</a>访问了！</p>
<p><img src="http://p0bnwspy9.bkt.clouddn.com/6B4146D081BAE220634689C69DC76C57.png" alt="火锅鸡网" style="width:75%;" class="about_img"><br><br></p>

        </div>

        <blockquote class="post-copyright">
    
    <footer>
        <a href="http://yoursite.com">
            <img src="https://yscoder.github.io/img/face.jpg" alt="张宁乐">
            张宁乐
        </a>
    </footer>
</blockquote>

        


        <div class="post-footer">
            
	<ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/JavaScript/">JavaScript</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/生活感悟/">生活感悟</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/移动端/">移动端</a></li></ul>


            
<div class="page-share-wrap">
    

<div class="page-share" id="pageShare">
    <ul class="reset share-icons">
      <li>
        <a class="weibo share-sns" target="_blank" href="http://service.weibo.com/share/share.php?url=http://yoursite.com/2018/03/11/火锅鸡网项目总结/&title=《火锅鸡网项目总结》 — Anson's Blog&pic=https://yscoder.github.io/img/face.jpg" data-title="微博">
          <i class="icon icon-weibo"></i>
        </a>
      </li>
      <li>
        <a class="weixin share-sns wxFab" href="javascript:;" data-title="微信">
          <i class="icon icon-weixin"></i>
        </a>
      </li>
      <li>
        <a class="qq share-sns" target="_blank" href="http://connect.qq.com/widget/shareqq/index.html?url=http://yoursite.com/2018/03/11/火锅鸡网项目总结/&title=《火锅鸡网项目总结》 — Anson's Blog&source=张宁乐,博客" data-title=" QQ">
          <i class="icon icon-qq"></i>
        </a>
      </li>
      <li>
        <a class="facebook share-sns" target="_blank" href="https://www.facebook.com/sharer/sharer.php?u=http://yoursite.com/2018/03/11/火锅鸡网项目总结/" data-title=" Facebook">
          <i class="icon icon-facebook"></i>
        </a>
      </li>
      <li>
        <a class="twitter share-sns" target="_blank" href="https://twitter.com/intent/tweet?text=《火锅鸡网项目总结》 — Anson's Blog&url=http://yoursite.com/2018/03/11/火锅鸡网项目总结/&via=http://yoursite.com" data-title=" Twitter">
          <i class="icon icon-twitter"></i>
        </a>
      </li>
      <li>
        <a class="google share-sns" target="_blank" href="https://plus.google.com/share?url=http://yoursite.com/2018/03/11/火锅鸡网项目总结/" data-title=" Google+">
          <i class="icon icon-google-plus"></i>
        </a>
      </li>
    </ul>
 </div>



    <a href="javascript:;" id="shareFab" class="page-share-fab waves-effect waves-circle">
        <i class="icon icon-share-alt icon-lg"></i>
    </a>
</div>



        </div>
    </div>

    
<nav class="post-nav flex-row flex-justify-between">
  
    <div class="waves-block waves-effect prev">
      <a href="/2018/03/11/初试织梦CMS/" id="post-prev" class="post-nav-link">
        <div class="tips"><i class="icon icon-angle-left icon-lg icon-pr"></i> Prev</div>
        <h4 class="title">初试织梦CMS</h4>
      </a>
    </div>
  

  
    <div class="waves-block waves-effect next">
      <a href="/2018/02/22/小程序学习记录一/" id="post-next" class="post-nav-link">
        <div class="tips">Next <i class="icon icon-angle-right icon-lg icon-pl"></i></div>
        <h4 class="title">小程序学习记录一</h4>
      </a>
    </div>
  
</nav>



    











    <!-- Valine Comments -->
    <div class="comments vcomment" id="comments"></div>
    <script src="//cdn1.lncld.net/static/js/3.0.4/av-min.js"></script>
    <script src="//unpkg.com/valine@latest/dist/Valine.min.js"></script>
    <!-- Valine Comments script -->
    <script>
        var GUEST_INFO = ['nick','mail','link'];
        var guest_info = 'nick,mail'.split(',').filter(function(item){
          return GUEST_INFO.indexOf(item) > -1
        });
        new Valine({
            el: '#comments',
            notify: 'false' == 'true',
            verify: 'false' == 'true',
            appId: "gbSwUaucLkuxqOLxm131Mg9U-gzGzoHsz",
            appKey: "b9xU2qIPrm06S0uymbAfrGMD",
            avatar: "mm",
            placeholder: "要不要说点什么？",
            guest_info: guest_info.length == 0 ? GUEST_INFO : guest_info,
            pageSize: "10"
        })
    </script>
    <!-- Valine Comments end -->







</article>



</div>

        <footer class="footer">
    <div class="top">
        
<p>
    <span id="busuanzi_container_site_uv" style='display:none'>
        站点总访客数：<span id="busuanzi_value_site_uv"></span>
    </span>
    <span id="busuanzi_container_site_pv" style='display:none'>
        站点总访问量：<span id="busuanzi_value_site_pv"></span>
    </span>
</p>


        <p>
            
                <span><a href="/atom.xml" target="_blank" class="rss" title="rss"><i class="icon icon-lg icon-rss"></i></a></span>
            
            <span>博客内容遵循 <a rel="license" href="https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh">知识共享 署名 - 非商业性 - 相同方式共享 4.0 国际协议</a></span>
        </p>
    </div>
    <div class="bottom">
        <p><span>张宁乐 &copy; 2017 - 2019</span>
            <span>
                
                Power by <a href="http://hexo.io/" target="_blank">Hexo</a> Theme <a href="https://github.com/yscoder/hexo-theme-indigo" target="_blank">indigo</a>
            </span>
			<span>
					Hosted by <a href="https://pages.coding.me" style="font-weight: bold">Coding Pages</a>
			  </span>
        </p>
    </div>
</footer>
<!-- <script>
(function(){
    var bp = document.createElement("script");
    var curProtocol = window.location.protocol.split(":")[0];
    if (curProtocol === "https") {
        bp.src = "https://zz.bdstatic.com/linksubmit/push.js";
    }
    else {
        bp.src = "http://push.zhanzhang.baidu.com/push.js";
    }
    var s = document.getElementsByTagName("script")[0];
    s.parentNode.insertBefore(bp, s);
})();
</script> -->

    </main>
    <div class="mask" id="mask"></div>
<a href="javascript:;" id="gotop" class="waves-effect waves-circle waves-light"><span class="icon icon-lg icon-chevron-up"></span></a>



<div class="global-share" id="globalShare">
    <ul class="reset share-icons">
      <li>
        <a class="weibo share-sns" target="_blank" href="http://service.weibo.com/share/share.php?url=http://yoursite.com/2018/03/11/火锅鸡网项目总结/&title=《火锅鸡网项目总结》 — Anson's Blog&pic=https://yscoder.github.io/img/face.jpg" data-title="微博">
          <i class="icon icon-weibo"></i>
        </a>
      </li>
      <li>
        <a class="weixin share-sns wxFab" href="javascript:;" data-title="微信">
          <i class="icon icon-weixin"></i>
        </a>
      </li>
      <li>
        <a class="qq share-sns" target="_blank" href="http://connect.qq.com/widget/shareqq/index.html?url=http://yoursite.com/2018/03/11/火锅鸡网项目总结/&title=《火锅鸡网项目总结》 — Anson's Blog&source=张宁乐,博客" data-title=" QQ">
          <i class="icon icon-qq"></i>
        </a>
      </li>
      <li>
        <a class="facebook share-sns" target="_blank" href="https://www.facebook.com/sharer/sharer.php?u=http://yoursite.com/2018/03/11/火锅鸡网项目总结/" data-title=" Facebook">
          <i class="icon icon-facebook"></i>
        </a>
      </li>
      <li>
        <a class="twitter share-sns" target="_blank" href="https://twitter.com/intent/tweet?text=《火锅鸡网项目总结》 — Anson's Blog&url=http://yoursite.com/2018/03/11/火锅鸡网项目总结/&via=http://yoursite.com" data-title=" Twitter">
          <i class="icon icon-twitter"></i>
        </a>
      </li>
      <li>
        <a class="google share-sns" target="_blank" href="https://plus.google.com/share?url=http://yoursite.com/2018/03/11/火锅鸡网项目总结/" data-title=" Google+">
          <i class="icon icon-google-plus"></i>
        </a>
      </li>
    </ul>
 </div>


<div class="page-modal wx-share" id="wxShare">
    <a class="close" href="javascript:;"><i class="icon icon-close"></i></a>
    <p>扫一扫，分享到微信</p>
    <img src="" alt="微信分享二维码">
</div>




    <script src="//cdn.bootcss.com/node-waves/0.7.4/waves.min.js"></script>
<script>
var BLOG = { ROOT: '/', SHARE: true, REWARD: false };


</script>

<script src="//unpkg.com/hexo-theme-material-indigo@latest/js/main.min.js"></script>


<div class="search-panel" id="search-panel">
    <ul class="search-result" id="search-result"></ul>
</div>
<template id="search-tpl">
<li class="item">
    <a href="{path}" class="waves-block waves-effect">
        <div class="title ellipsis" title="{title}">{title}</div>
        <div class="flex-row flex-middle">
            <div class="tags ellipsis">
                {tags}
            </div>
            <time class="flex-col time">{date}</time>
        </div>
    </a>
</li>
</template>

<script src="//unpkg.com/hexo-theme-material-indigo@latest/js/search.min.js" async></script>






<script async src="//dn-lbstatics.qbox.me/busuanzi/2.3/busuanzi.pure.mini.js"></script>





</body>
</html>
